package com.klun.spring4.c_five.five11;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 通过@import将多个配置类组装到一个配置类中
 */
@Configuration
@Import(DaoConfig.class)
public class ServiceConfig {

    public LogonService logonService(){
        LogonService logonService = new LogonService();
        return  logonService;
    }
}
